home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960425-19960715 / 000306_news@columbia.edu _Wed Jun 26 03:27:53 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id DAA07380 for <kermit.misc@watsun.cc.columbia.edu>; Wed, 26 Jun 1996 03:27:53 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id DAA27026 for kermit.misc@watsun; Wed, 26 Jun 1996 03:27:52 -0400 (EDT)
  4. Path: news.columbia.edu!lamont.ldeo.columbia.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!ott.istar!istar.net!news.nstn.ca!psinntp!psinntp!psinntp!spunky.RedBrick.COM!nntp.et.byu.edu!cwis.isu.edu!news.cc.utah.edu!news.cs.utah.edu!cc.usu.edu!jrd
  5. From: jrd@cc.usu.edu (Joe Doupnik)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Automate File Send then Receive
  8. Message-ID: <1996Jun25.160406.82068@cc.usu.edu>
  9. Date: 25 Jun 96 16:04:06 MDT
  10. References: <4qp1q4$jgk@comet.connix.com>
  11. Organization: Utah State University
  12. Lines: 51
  13.  
  14. In article <4qp1q4$jgk@comet.connix.com>, Jim Jablonski <jjablons@connix.com> writes:
  15. > Greetings,
  16. > I am working on a project that requires us to dial out to a vendor,
  17. > then send a text file that tells the remote site who we are, then 
  18. > the remote site sends us a text file.  I would like to automate this
  19. > process using C-kermit on a DEC Alpha 3600 running OpenVMS 6.1.
  20. > I have been able to get as far as C-kermit dialing and connecting to
  21. > the remote site.  I get hung up at the remote site login sequence.
  22. > I have been trying to use the INPUT and OUTPUT commands to accomplish
  23. > this.  The example in the book uses a single word (login:) after the
  24. > INPUT command.  The site I am logging into has for a login prompt.
  25. > "Enter logon id:".  My question is, can I use the INPUT command to 
  26. > process this prompt?  I have tried using quotes("") around the 
  27. > login prompt, experimented with different times from 5-35 sec. of
  28. > waiting for the prompt without success.
  29. > I start C-kermit with the -y command line qualifier and a setup file
  30. > as follows; Ckermit -y filename.set. The commands in Filename.set are;
  31. > set carrier off
  32. > set modem hayes
  33. > set line lta415
  34. > set speed 2400
  35. > set terminal bytesize 8
  36. > set flow none
  37. > dial 9,1xxxxxxxxxx
  38. > connect
  39.   ^^^^^^^--------- Noooooo. CONNECT puts you into terminal emulation mode
  40. and the script does not work there, as explained in the Kermit documentation.
  41. The script works at the Kermit prompt level, which is why you can use any
  42. Kermit commands in the script.
  43.     What's more, there is a brand new feature in the very latest Kermits
  44. under development which permits a Kermit client to automatically recognize
  45. a Kermit packet arriving while the client is in terminal emulation/Connect
  46. mode, and to perform the file transfer as a short interlude to terminal
  47. emulation. That's not available in a script, so you have to use SEND/GET/
  48. RECEIVE etc in scripts.
  49.     Joe D.
  50.  
  51. > input 15 Enter logon id:
  52. > output 10 my_login
  53. > input 15 Enter password:
  54. > output 10 my_password
  55. > ^\C         ! I'm hoping this will get me back to my C-kermit to send 
  56. > send file.txt
  57. > recieve 
  58. > Am doing this right? Will the ^\C get me back to my machine?  Any 
  59. > suggestions will be appreciated.